a=int(input())
b=int(input())
c=int(input())
d=int(input())
e=int(input())

# list = []
# 
# if (a < 100):
#     list.append(100)
# else:
#     list.append(a)
# 
# if (b < 100):
#     list.append(100)
# else:
#     list.append(b)
# 
# if (c < 100):
#     list.append(100)
# else:
#     list.append(c)
# 
# if (d < 100):
#     list.append(100)
# else:
#     list.append(d)
# 
# if (e < 100):
#     list.append(100)
# else:
#     list.append(e)

list=[a,b,c,d,e]
for i in range(5):
    if list[i]<100:
        list[i]=100

print(list)